package com.xywl.escort.view.notice;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.MessageResp;
import com.xywl.escort.bean.NoticeResp;

/**
 * Created by 32422 on 2018/3/7.
 */

public interface NoticeListContract {

    interface Presenter extends BasePresenter {
        void takeView(NoticeListContract.View view);

        void loadNoticeList(String userId);
    }

    interface View extends BaseView<Presenter> {
        void updateNoticeList(NoticeResp.DataBean dataBean);

        void loadNoticeListFailure(String msg);
    }
}
